<template>
	<view class="accountInformation_box">
		<view class="mainContent">
			<view class="item">
				<view class="label">登录帐号：</view>
				<view class="val">{{data.account}}</view>
			</view>
			
			<view class="second" @click="modify">
				<view class="toView">修改密码</view>
				<image src="../../../static/img/fanhui.png"></image>
			</view>
			
			<view class="second">
				<view class="toView" @click="toRecord">新增会员记录</view>
				<image src="../../../static/img/fanhui.png"></image>
			</view>
		</view>
		
		<view class="loginOut" @click="loginOut">退出登录</view>
		
		<!-- 修改密码 -->
		<view class="new">
			<u-modal v-model="show" :show-cancel-button="true" :show-title="false" @confirm="confirm" >
				<view class="newPassword">
					<input type="text" placeholder="请输入新密码" v-model="password" @blur="passwordBlur">
				</view>
			</u-modal>			
		</view>
		<u-modal v-model="showModal" :content="showContent"></u-modal>
	</view>
</template>

<script src="@/static/js/headFeatures/settings/settings.js"></script>
<style lang="scss" scoped>
	@import  '@/static/css/headFeatures/settings/settings.scss';
</style>
